<template>
  <div>
    <div class="jnhfxq_box">
      <div class="jnhfxq_box_title">机构会议填写报名信息</div>

      <div class="jnhfxq_nr_box jl">
        <div class="title">
          <span style="margin-right: 0.875rem"
            >报名截止时间：{{ form.deadline_date }}</span
          >
          <span
            >会议时间：{{ form.meet_start_date }} -
            {{ form.meet_end_date }}</span
          >
        </div>
        <div class="newsjnhfxq_nr_box_input">
          <el-input
            placeholder="请输入单位"
            v-model="form.mechanism_name"
            disabled
          >
            <template slot="prepend">单位：</template>
          </el-input>
        </div>
        <div class="newsjnhfxq_nr_box_input">
          <el-input placeholder="请输入联系人" disabled v-model="form.username">
            <template slot="prepend">联系人：</template>
          </el-input>
        </div>

        <div class="newsjnhfxq_nr_box_input">
          <el-input
            placeholder="请输入手机号"
            disabled
            v-model="form.usermobile"
          >
            <template slot="prepend">手机号：</template>
          </el-input>
        </div>
      </div>
      <div class="jnhfxq_2_box">
        <p><span>*</span> 参会人员：</p>
        <div class="table_item_hy">
          <el-table :data="form.users" stripe fit>
            <el-table-column prop="ids" type="index" width="54" label="序号">
            </el-table-column>
            <el-table-column prop="name" label="姓名" width="150">
            </el-table-column>
            <el-table-column prop="gender" label="性别" width="115">
              <template slot-scope="scope">
                <span v-if="scope.row.gender == '2'">男</span>
                <span v-if="scope.row.gender == '1'">女</span>
              </template>
            </el-table-column>
            <el-table-column prop="type" label="身份类型" width="200">
              <template slot-scope="scope">
                <span v-if="scope.row.type == 'evaluate'"
                  >土地估价专业人员</span
                >
                <span v-if="scope.row.type == 'agent'">登记代理人</span>
                <span v-if="scope.row.type == 'legal'">法定代表人</span>
                <span v-if="scope.row.type == 'shareholder'">股东</span>
                <span v-if="scope.row.type == 'other'">其他</span>
              </template>
            </el-table-column>
            <el-table-column prop="code" label="证件号码" width="220">
            </el-table-column>
            <el-table-column prop="stay" label="住宿情况" width="115">
              <template slot-scope="scope">
                <span v-if="scope.row.stay == '1'">单住</span>
                <span v-if="scope.row.stay == '2'">合住</span>
                <span v-if="scope.row.stay == '0'">不住宿</span>
              </template>
            </el-table-column>
            <el-table-column prop="remark" label="备注">
            </el-table-column>
          </el-table>
        </div>
      </div>
    </div>
  </div>
</template>
      <script>
export default {
  data() {
    return {
      id: this.$route.query.id,
      form: {},
      mechanisminfo: [],
    };
  },
  mounted() {
    this.getinfo();
  },
  methods: {
    /**
     * 获取信息列表
     */
    getinfo() {
      let that = this;
      let data = {
        type: 1,
        id: that.id,
      };
      that.$http.post("meet/meet_mechanism_detail", data).then((res) => {
        if (res.code === 1) {
          that.form = res.data;
        }
        // console.log(that.list)
      });
    },
    //  ==
  },
};
</script>
      <style>
.jnhfxq_box {
  background: #ffffff;
  border-radius: 0.125rem;
  box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.15);
  margin: 0.125rem 0.025rem 0.1rem 0.625rem;
  padding-bottom: 0.4875rem;
}
.newsjnhfxq_nr_box_input {
  width: 32%;
  margin-top: 0.25rem;
}
.jnhfxq_box_title {
  height: 0.9rem;
  text-align: center;
  line-height: 1rem;
  font-size: 0.25rem;
  font-weight: 400;
  color: #333333;
}
.jnhfxq_nr_box {
  width: 14rem;
  border-top: 0.0375rem dotted #dddd;
  margin: auto;
  font-size: 0.225rem;
  font-weight: 400;
  color: #333333;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.jnhfxq_nr_box_input {
  width: 48%;
  margin-top: 0.25rem;
}
.jnhfxq_nr_box_input .el-input-group__prepend {
  width: 68px;
}
.jnhfxq_2_box {
  width: 14rem;
  margin: 0.15rem auto 0;
  font-size: 0.225rem;
  font-weight: 400;
  color: #333333;
}
.jnhfxq_2_box .el-table__header thead th {
  background-color: #ebf2fc !important;
  height: 0.625rem;
  font-size: 0.2rem;
  font-weight: 400;
  color: #1954a4;
  line-height: 0.375rem;
  text-align: center;
}
.jnhfxq_2_box .el-table__body-wrapper tbody td {
  text-align: center;
}
.jnhfxq_2_box p {
  font-size: 0.2rem;
  font-family: Microsoft YaHei;
  font-weight: 400;
  line-height: 0.375rem;
  margin-bottom: 0.1625rem;
}
.jnhfxq_2_box p span {
  font-size: 0.2rem;
  color: #cd0000;
}
.button_box_hfxq2 .el-button {
  width: 2.5rem;
  font-size: 0.2rem !important;
}
.button_box_hfxq2 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}
.jnhfxq2_pz {
  display: flex;
  align-items: center;
  width: 14rem;
  margin: auto;
  border: 1px solid #e8eaee;
  height: 1.125rem;
}
.jnhfxq2_pz_title {
  width: 1.25rem;
  background: #f2f2f2;
  border-radius: 0.025rem 0px 0px 0.025rem;
  font-size: 0.2rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.125rem;
  text-align: center;
}
.jnhfxq2_pz_upload {
  display: flex;
  align-items: center;
  padding-left: 0.275rem;
  box-sizing: border-box;
}
.jnhfxq2_pz_uploadbox .el-upload--picture-card {
  width: 0.8875rem;
  height: 0.8875rem;
  line-height: 1rem;
  background: #f2f2f2;
}
.jnhfxq2_pz_uploadbox .el-upload--picture-card i {
  font-size: 0.35rem;
}
.uploadpz {
  font-size: 0.175rem;
  font-weight: 400;
  color: #333333;
  margin-left: 0.1375rem;
}
.jnhfxq2_pz_uploadbox .el-upload-list--picture-card .el-upload-list__item {
  width: 0.9rem;
  height: 0.9rem;
}

.jl .el-input.is-disabled .el-input__inner {
  background: #ffffff;
  color: #333333;
}
</style>
  <style scoped>
.title {
  font-size: 0.25rem;
  font-weight: 400;
  color: #cd0000;
  line-height: 0.375rem;
  margin-bottom: 0.125rem;
}
.jnhfxq_nr_box {
  padding-top: 0.325rem;
}
.jl_beizhu {
  width: 14rem;
  word-wrap: break-word;
  word-break: break-all;
  border-radius: 2px;
  border: 1px solid #e8eaee;
  padding: 0.175rem 0.3375rem 0.3125rem 0.125rem;
  box-sizing: border-box;
}
</style><style scoped>
::v-deep .el-table tr {
  font-size: 0.2rem;
}
::v-deep .el-button {
  font-size: 0.2rem;
}
</style>